package com.luoye.lj.util.excel;

import com.luoye.lj.util.excel.format.IFormat;

/*
 * Created with IntelliJ IDEA.
 * User: Dave Liu
 * Date: 2016/6/27
 * Time: 14:52
 * To change this template use File | Settings | File Templates.
 */
public class DataFieldDescription {
    private String name;
    private String text;
    private IFormat format;

    public DataFieldDescription(String name, String text, IFormat format) {
        this.name = name;
        this.text = text;
        this.format = format;
    }

    public DataFieldDescription(String name, String text) {
        this.name = name;
        this.text = text;
    }

    public DataFieldDescription() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public IFormat getFormat() {
        return format;
    }

    public void setFormat(IFormat format) {
        this.format = format;
    }

    @Override
    public String toString() {
        return "DataFieldDescription{" +
                "name='" + name + '\'' +
                ", text='" + text + '\'' +
                ", format=" + format +
                '}';
    }
}
